drm/vc4: Set up SCALER_DISPCTRL at boot.
authorEric Anholt <eric@anholt.net>
Thu, 15 Sep 2016 14:25:23 +0000 (15:25 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:45:33 +0000 (15:45 +0100)
commitfeea86b2778ebcc3531b99b536e2f6c2d6f27217
tree782dbd0cb03509827c0a988eec03cc8499d47b66
parent610d9cb3b4eede4369af9ba03ca0cbf237110d7c
drm/vc4: Set up SCALER_DISPCTRL at boot.

We want the HVS on, obviously, and we also want DSP3 (PV1's source) to
be muxed from HVS channel 2 like we expect in vc4_crtc.c.  The
firmware wasn't setting the DSP3 mux up when both the LCD and HDMI
were disabled.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h